﻿using System;
using System.Collections.Generic;
using System.Text;

namespace JESAI.Common.Util
{
    public class CertConverter: ValueConverter
    {
        public override object Convert(object value)
        {
            var returnValue = string.Empty;
            if (value != null)
            {
                returnValue = value.ToString().Substring(0, 4);
            }
            return returnValue;
        }
    }
}
